package com.qboot.rabbitmq.simple;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 简单模型 Simple - 配置
 *
 * @author Tellsea
 * @date 2023/3/7
 */
@Configuration
public class RabbitMqSimpleConfig {

    @Bean("simpleQueue")
    public Queue simpleQueue() {
        return new Queue(SimpleConst.QUEUE_NAME);
    }
}
